[SPARK-9054] [SQL] Rename RowOrdering to InterpretedOrdering; use newOrdering in SMJ#7973
[SPARK-9054] [SQL] Rename RowOrdering to InterpretedOrdering; use newOrdering in SMJ#7973JoshRosen wants to merge 3 commits into
Conversation
…Ordering in more places.
There was a problem hiding this comment.
How about we at a comment at https://github.com/apache/spark/pull/7973/files#diff-b669f8cf35f1d2d786582f4d8c49ed14R59 to explain the direction must be Ascending. So, the direction in requiredOrders is consistent with the direction we are using at here.
There was a problem hiding this comment.
Should this name also reflect its using Ascending?
There was a problem hiding this comment.
Meh, it could. I only left it as-is out of a desire to minimize changes. Can fix later.
There was a problem hiding this comment.
yeah, it is totally fine to leave it as-is.
|
LGTM |
|
Test build #39915 has finished for PR 7973 at commit
|
|
Test build #39918 has finished for PR 7973 at commit
|
|
This passed on an earlier run and only failed the latest run due to a known flaky test, so I'm going to merge this to master and branch-1.5 in order to unblock work on my other patch. |
…Ordering in SMJ This patches renames `RowOrdering` to `InterpretedOrdering` and updates SortMergeJoin to use the `SparkPlan` methods for constructing its ordering so that it may benefit from codegen. This is an updated version of #7408. Author: Josh Rosen <joshrosen@databricks.com> Closes #7973 from JoshRosen/SPARK-9054 and squashes the following commits: e610655 [Josh Rosen] Add comment RE: Ascending ordering 34b8e0c [Josh Rosen] Import ordering be19a0f [Josh Rosen] [SPARK-9054] [SQL] Rename RowOrdering to InterpretedOrdering; use newOrdering in more places. (cherry picked from commit 9c87892) Signed-off-by: Josh Rosen <joshrosen@databricks.com>
This patches renames
RowOrderingtoInterpretedOrderingand updates SortMergeJoin to use theSparkPlanmethods for constructing its ordering so that it may benefit from codegen.This is an updated version of #7408.